#ifndef CREATEROOMRESP_H
#define CREATEROOMRESP_H

#include <QtGlobal>
#include "protosrvresp.h"
#include "protosrvmanager.h"

class CreateRoomResp : public ProtoSrvResp
{
public:
    CreateRoomResp();
    CreateRoomResp(qint32 result);

    bool        success() const {return _result == E_SUCCESS;}
    qint32	getReason() const {return _result;}

    bool        encode(ACE_OutputCDR &cdr);
    ProtoSrv*	decode(ACE_InputCDR &cdr);
private:
    qint32    _result;
};

#endif // CREATEROOMRESP_H
